package com.hsl.study.service;


import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.UserMessage;

/**
 * @Author: hsl
 * @CreateTime: 2025-04-09-14:57
 * @Version: 1.0
 */

public interface AiAssistant {

    /**
     * 对话
     * @param userId
     * @param message
     * @return
     */
    String chat(@MemoryId Long userId, @UserMessage String message);
}
